using System;

namespace Qplus.protocol
{

    /**
     * 
     * 会话开始通知
     *
     */
    public class U2C_NOTIFY_SESSION_BEGIN : InPacket{

	    /**
	     * 应用id
	     */
	    private long appID;
	
	    /**
	     * sessionID
	     */
	    private long sessionID;
	
	    /**
	     * 好友id
	     */
	    private long friendID;
	
	    
	    protected override void parseBody(byte[] data, int offset, int count) {
		    appID = get4(data);
		    sessionID = get4(data);
		    friendID = get4(data);
	    }

	    public long getAppID() {
		    return appID;
	    }

	    public void setAppID(long appID) {
		    this.appID = appID;
	    }

	    public long getSessionID() {
		    return sessionID;
	    }

	    public void setSessionID(long sessionID) {
		    this.sessionID = sessionID;
	    }

	    public long getFriendID() {
		    return friendID;
	    }

	    public void setFriendID(long friendID) {
		    this.friendID = friendID;
	    }
    //	kal_uint32 appID; 应用ID
    //	kal_uint32 sessionID; 会话ID
    //	kal_uint32 friendID; 用户数字账号
	
	}
}
